package com.ruoyi.boat.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水质数据对象 t_water_quality
 *
 * @author ruoyi
 * @date 2023-08-09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class WaterQuality extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 艇编号
     */
    @Excel(name = "艇编号")
    private String boatCode;

    /**
     * 数据时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    /**
     * 水温
     */
    @Excel(name = "水温")
    private Double temp;

    /**
     * 深度
     */
    @Excel(name = "深度")
    private Double depth;

    /**
     * 盐度
     */
    @Excel(name = "盐度")
    private Double salinity;

    /**
     * 溶解氧
     */
    @Excel(name = "溶解氧")
    private Double oxygen;

    /**
     * 叶绿素
     */
    @Excel(name = "叶绿素")
    private Double chlorophyll;

    /**
     * 浊度
     */
    @Excel(name = "浊度")
    private Double turbidity;

    /**
     * PH
     */
    @Excel(name = "PH")
    private Double ph;
}
